package com.itcam.cm.order.service;

import com.itcam.cm.model.dto.order.OrderInfoDto;
import com.itcam.cm.model.entity.order.OrderInfo;
import com.itcam.cm.model.vo.order.TradeVo;
import com.github.pagehelper.PageInfo;

public interface OrderInfoService {
    TradeVo getTrade();

    Long submitOrder(OrderInfoDto orderInfoDto);

    TradeVo buy(Long skuId);

    OrderInfo getOrderById(Long orderId);

    PageInfo<OrderInfo> findOrderPage(Integer page, Integer limit, Integer orderStatus);

    OrderInfo getOrderByOrderNo(String orderNo);
}
